package com.taotao.cart.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import com.fasterxml.jackson.databind.ObjectMapper;

/**
 * 专门用来获取.properties文件的内容
 * @author Henry
 *
 */
@Service
public class PropertiesService {

	public static final ObjectMapper MAPPER = new ObjectMapper();
	
	public static final String TT_CART_COOKIE = "TT_CART";
	//后台系统地址
	@Value("${TT_MANAGE_URL}")
	public String TT_MANAGE_URL;
	@Value("${TT_MANAGE_ITEM_URL}")
	public String ITEM_URL;
}
